/**
 * Copyright (c) 2015 www.smarthome.com All rights reserved. <br />
 * 本软件源代码版权归xxxx公司,未经许可不得任意复制与传播.<br />
 *
 */
package com.smarthome.domain.enums;

/**
 * YesNoEnum 是否枚举
 *
 */
public enum YesNoEnum {
    YES(1, "是"), NO(0, "否");

    private int type;
    private String name;

    private YesNoEnum(int type, String name) {
        this.type = type;
        this.name = name;

    }

    public int getType() {
        return type;
    }

    public String getName() {
        return name;
    }
}
